import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/Home'
import Login from '@/pages/Login'
import Register from '@/pages/Register'
import Forgotpw from '@/pages/Forgotpw'
import NewsList from '@/pages/News/NewsList'
import NewsDetail from '@/pages/News/NewsDetail'
import Company from '@/pages/AboutUs/Company'
import Experts from '@/pages/AboutUs/Experts'
import Hospital from '@/pages/AboutUs/Hospital'
import PartyBuild from '@/pages/AboutUs/PartyBuild'
import Pcbb from '@/pages/AboutUs/Pcbb'
import Events from '@/pages/AboutUs/Events'
import Question from '@/pages/ContactUs/Question'
import Join from '@/pages/ContactUs/Join'
import Contact from '@/pages/ContactUs/Contact'
import Beed from '@/pages/LifeBank/Beed'
import Signing from '@/pages/LifeBank/Signing'
import Storage from '@/pages/LifeBank/Storage'
import Insurance from '@/pages/LifeBank/Insurance'
import Collection from '@/pages/LifeBank/Collection'
import Case from '@/pages/Product/Case'
import CordBlood from '@/pages/Product/CordBlood'
import Transplant from '@/pages/Product/Transplant'
import Mesnchymal from '@/pages/Product/Mesnchymal'
import Peripheral from '@/pages/Product/Peripheral'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/register',
      name: 'Register',
      component: Register
    },
    {
      path: '/forgotpw',
      name: 'Forgotpw',
      component: Forgotpw
    },
    {
      path: '/about/company',
      name: 'Company',
      component: Company
    },
    {
      path: '/about/experts',
      name: 'Experts',
      component: Experts
    },
    {
      path: '/about/hospital',
      name: 'Hospital',
      component: Hospital
    },
    {
      path: '/about/pcbb',
      name: 'Pcbb',
      component: Pcbb
    },
    {
      path: '/about/party',
      name: 'PartyBuild',
      component: PartyBuild
    },
    {
      path: '/about/events',
      name: 'Events',
      component: Events
    },
    {
      path: '/news/newslist',
      name: 'NewsList',
      component: NewsList
    },
    {
      path: '/news/newsdetail',
      name: 'NewsDetail',
      component: NewsDetail
    },
    {
      path: '/contact/question',
      name: 'Question',
      component: Question
    },
    {
      path: '/contact/join',
      name: 'Join',
      component: Join
    },
    {
      path: '/contact/contact',
      name: 'Contact',
      component: Contact
    },
    {
      path: '/lifebank/beed',
      name: 'Beed',
      component: Beed
    },
    {
      path: '/lifebank/signing',
      name: 'Signing',
      component: Signing
    },
    {
      path: '/lifebank/storage',
      name: 'Storage',
      component: Storage
    },
    {
      path: '/lifebank/insurance',
      name: 'Insurance',
      component: Insurance
    },
    {
      path: '/lifebank/collection',
      name: 'Collection',
      component: Collection
    },
    {
      path: '/product/case',
      name: 'Case',
      component: Case
    },
    {
      path: '/product/cordblood',
      name: 'CordBlood',
      component: CordBlood
    },
    {
      path: '/product/transplant',
      name: 'transplant',
      component: Transplant
    },
    {
      path: '/product/mesnchymal',
      name: 'Mesnchymal',
      component: Mesnchymal
    },
    {
      path: '/product/peripheral',
      name: 'Peripheral',
      component: Peripheral
    }
  ]
})
